SftTree/NET 2.0

ItemLeafImage Property, SftTree Class

Softel vdm, Inc.

Defines the default image used to display a leaf item's item image.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ItemLeafImage As Image

C#   

public Image ItemLeafImage { get; set; }

C++   

public: property Image^ ItemLeafImage {
        Image^ get();
        void set(Image^ value);
}

Property Value

The image used to display a leaf item's item image or null/Nothing if there is no default image.

The default value is null/Nothing.

Comments

The ItemLeafImage property defines the default image used to display a leaf item's item image.

The item image is an optional image displayed in the hierarchy area of the hierarchy column. It is only shown if a hierarchy column has been defined (ColumnClass.ShowHierarchy).

Individual items can override the default image using the ItemClass.Image property.

Sample images can be found in the directory C:\Program Files\Softelvdm\SftTree NET 2.0\Images.  E.g., FolderClosed1_16.png, FolderOpen1_16.png and Leaf1_16.png contain suitable sample images for the ItemExpandableImage, ItemExpandedImage and ItemLeafImage properties.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com